It is a common task to group records in a table sequence as needed and to summarize the data in each group during statis group, aggregate
Here’s how to use enum() function.enumeration, group